﻿<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="AjaxTest.aspx.cs" Inherits="WebApplication2.AjaxTest" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Test page</title>
    <style type="text/css">
        th
        {
            text-align: left;
        }
        .headerRow
        {
            background-color: #000000;
            color: White;
            font-weight: bold;
        }
        .highlightRow
        {
            background-color: #dadada;
            cursor: pointer;
            border: solid 1px black;
        }
        .selectedRow
        {
            background-color: #808080;
            cursor: pointer;
            border: solid 1px black;
            color: White;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:GridView runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
                DataSourceID="SqlDataSource2" EnableModelValidation="True">
                <Columns>
                    <asp:BoundField DataField="DataOraAllarme" HeaderText="DataOraAllarme" SortExpression="DataOraAllarme" />
                    <asp:BoundField DataField="Ordine" HeaderText="Ordine" SortExpression="Ordine" />
                    <asp:BoundField DataField="Lotto" HeaderText="Lotto" SortExpression="Lotto" />
                    <asp:BoundField DataField="Colata" HeaderText="Colata" SortExpression="Colata" />
                    <asp:BoundField DataField="NrBilletta" HeaderText="NrBilletta" SortExpression="NrBilletta" />
                    <asp:BoundField DataField="Conferma" HeaderText="Conferma" SortExpression="Conferma" />
                    <asp:BoundField DataField="Pos" HeaderText="Pos" SortExpression="Pos" />
                    <asp:BoundField DataField="CodiceAllarme" HeaderText="CodiceAllarme" SortExpression="CodiceAllarme" />
                    <asp:BoundField DataField="ValoreAllarme" HeaderText="ValoreAllarme" SortExpression="ValoreAllarme" />
                    <asp:BoundField DataField="FlagAllarme" HeaderText="FlagAllarme" SortExpression="FlagAllarme" />
                </Columns>
            </asp:GridView>
            <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:SCSIL010H_TestConnectionString %>"
                SelectCommand="SELECT * FROM [hefAllarmi]"></asp:SqlDataSource>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
